<%--
  Created by IntelliJ IDEA.
  User: 20275
  Date: 2023/11/18
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@include file="/pages/common/head.jsp"%>

<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">添加公告信息</h1>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    公告管理 >> 添加公告信息
                </div>
                <div class="panel-body">
                    <form role="form" action="${pageContext.request.contextPath }/notice/addNoticeInfo" method="post">

                        <div class="row">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <label>公告标题</label>
                                    <input class="form-control" name="notice_title" required>
                                </div>
                                <div class="form-group">
                                    <label>公告内容</label>
                                    <textarea class="form-control" required name="notice_contact" rows="10"></textarea>
                                </div>
                                <input type="submit" class="btn btn-primary" value="发布">
                                <input type="reset" class="btn btn-warning" value="重置">
                            </div>
                            <div class="col-lg-6">

                                <div class="form-group">
                                    <label>描述</label>
                                    <input class="form-control" name="notice_detail">
                                </div>

                            </div>
                        </div>

                    </form>

                </div>
            </div>
        </div>
    </div>
</div>

<c:if test="${message != null}">
    <script>
        alert("${message}")
    </script>
    <% session.removeAttribute("message"); %>
</c:if>

<%@include file="/pages/common/foot.jsp" %>
